﻿using System;
using System.Collections.Generic;
namespace ApiBetaSeries
{
    /// <summary>
    ///  Interface of Season
    /// </summary>
    public interface ISeason
    {
        /// <summary>
        /// Url of the show
        /// </summary>
        string UrlShow { get; set; }

        /// <summary>
        /// Season number
        /// </summary>
        int Number { get; set; }
        /// <summary>
        /// List of the episode of the season
        /// </summary>
        List<IEpisode> Episodes { get; set; }

        /// <summary>
        /// Allow to access to an episode of this season
        /// </summary>
        /// <param name="number">number of the episode</param>
        /// <returns>The episode</returns>
        ApiBetaSeries.IEpisode this[int number] { get; set; }

         /// <summary>
        /// Get all the subtitles for the season
        /// </summary>
        /// <param name="type">VO/VF/VOVF</param>
        /// <returns>List of subtitles</returns>
        List<ISubtitle> GetSubtitles(SubtitleLanguage type = SubtitleLanguage.VOVF);
    }
}
